package com.my.study.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: yidujun
 * @create: 2021/05/12 14:09
 */
public class BaseEntity implements Serializable {
    private static final long serialVersionUID = 3150140175460422187L;

    /**
     * 唯一标识 主键
     */
    private Long id;

    /**
     * 是否有效 1-有效
     */
    private Integer available;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getAvailable() {
        return available;
    }

    public void setAvailable(Integer available) {
        this.available = available;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
